home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / TDE200.ARJ / TDE.CFG < prev    next >
Text File  |  1992-06-05  |  12KB  |  433 lines

  1. ;
  2. ;                     tde, the Thomson-Davis Editor
  3. ;                              Version 2.0
  4. ;                             June 5, 1992
  5. ;                              Frank Davis
  6. ;
  7. ;
  8. ;
  9. ; These are the default function key, mode, and color assignments in
  10. ;   the distribution version of tde, version 2.0.  Please feel free to
  11. ;   change/modify these function assignments to suite your tastes.
  12. ;
  13. ;
  14. ;   s+  ==  Shift+     c+ == Control+     a+ == Alt+   s+a+  ==  Shift+Alt+
  15. ;
  16. ;
  17. ; Comments begin with a semicolon.
  18. ;
  19. ; Case is not significant for key names or function names.
  20. ;
  21. ; To define a macro, use the Macro function assignment followed by the keys
  22. ;   in the macro.  In tde, macros are simple keyboard macros.  Define the
  23. ;   macros as if you were entering keys from the keyboard.  Literals should
  24. ;   be enclosed by double quotes.  Place all of the macro definition on one
  25. ;   line.  Lines may be up to 1000 characters long.  Recursive macro
  26. ;   definitions are allowed.  Here are a few macro examples:
  27. ;
  28. ;
  29. ; This macro splits the screen and loads in a custom help file when Alt+5 is
  30. ;   pressed.
  31. ;
  32. ; a+5         Macro  Center f9 s+f4 "myhelp.hlp" enter
  33. ;
  34. ;
  35. ; This simple recursive macro moves the cursor down until the eof is reached.
  36. ;   The last key in the macro definition calls itself.
  37. ;
  38. ; a+6         Macro down a+6
  39. ;
  40. ;
  41. ; In some instances, you may want to wipe out any previously assigned
  42. ;   macro.  For example, you may have saved a macro file in tde and now want
  43. ;   to erase a macro assigned to a key.  Use the Null function to clear a key.
  44. ;
  45. ; a+7         Null
  46. ;
  47. ;
  48. ; To assign ASCII or Extended ASCII characters to function keys, enclose the
  49. ;   character in quotes.
  50. ;
  51. ; s+a+A       Macro "ä"
  52. ;
  53. ; s+a+t       Macro "tde, the Thomson-Davis Editor"
  54. ;
  55. ;
  56. ; You may assign any editor function to any recognized function key with
  57. ;   no restrictions.  For example, the Enter key could be assigned to the
  58. ;   MarkBox function.  Additionally, No function is required to be assigned
  59. ;   to any key, e.g. you don't have to assign any function to the Enter key if
  60. ;   you don't want to.  One function may be assigned to several keys, but
  61. ;   one key may only be assigned to only one function.  If a key is assigned
  62. ;   to several functions, only the last function assignment has any effect.
  63. ;
  64. ; All of the 233 recognized function keys in tde are listed below.
  65.  
  66.  
  67. ;
  68. ; basic editing keys
  69. ;
  70. enter         Rturn                     ; Note: Rturn is not spelled with an e
  71. s+enter       NextLine                  ; first character in next line
  72. c+enter       BegNextLine               ; column 1 of nextline
  73. a+Enter
  74.  
  75. GreyEnter                               ; 101 keyboard on keypad
  76. s+GreyEnter                             ; 101 keyboard on keypad
  77. c+GreyEnter                             ; 101 keyboard on keypad
  78. a+GreyEnter                             ; 101 keyboard on keypad
  79.  
  80.  
  81. backspace     BackSpace
  82. s+backspace   BackSpace
  83. c+backspace
  84. a+backspace
  85.  
  86.  
  87. esc           AbortCommand
  88. s+esc
  89. c+esc         ClearAllMacros
  90. a+esc
  91.  
  92. tab           Tab
  93. s+tab         BackTab
  94. c+tab         SetTabs
  95. a+tab         ToggleSmartTabs
  96.  
  97. ;
  98. ; function keys
  99. ;
  100. f1            Help
  101. f2            Save
  102. f3            Quit
  103. f4            File
  104. f5            RepeatFindForward1
  105. f6            RepeatFindBackward1
  106. f7
  107. f8            SplitVertical
  108. f9            SplitHorizontal
  109. f10           NextWindow
  110. f11
  111. f12
  112.  
  113.  
  114. s+f1          SaveMacro
  115. s+f2          SaveAs
  116. s+f3          LoadMacro
  117. s+f4          EditFile
  118. s+f5          FindForward
  119. s+f6          FindBackward
  120. s+f7          ReplaceForward
  121. s+f8          ReplaceBackward
  122. s+f9          SizeWindow
  123. s+f10         PreviousWindow
  124. s+f11
  125. s+f12
  126.  
  127.  
  128. c+f1          ToggleSync
  129. c+f2          ToggleEol
  130. c+f3          ToggleCRLF
  131. c+f4          ToggleTrailing
  132. c+f5          ToggleSearchCase
  133. c+f6          SetLeftMargin
  134. c+f7          SetRightMargin
  135. c+f8          SetParagraphMargin
  136. c+f9          ZoomWindow
  137. c+f10         NextHiddenWindow
  138. c+f11
  139. c+f12
  140.  
  141.  
  142. a+f1          DirList
  143. a+f2          SetFileAttributes
  144. a+f3          RecordMacro
  145. a+f4          EditNextFile
  146. a+f5          RepeatFindForward2
  147. a+f6          RepeatFindBackward2
  148. a+f7          FormatParagraph
  149. a+f8          LeftJustify
  150. a+f9          RightJustify
  151. a+f10         CenterJustify
  152. a+f11
  153. a+f12
  154.  
  155.  
  156. ;
  157. ; control cluster / keypad keys
  158. ;
  159. Home          BegOfLine
  160. End           EndOfLine
  161. Left          CharLeft
  162. Right         CharRight
  163. Up            LineUp
  164. Down          LineDown
  165. PgUp          ScreenUp
  166. PgDn          ScreenDown
  167. Ins           ToggleOverWrite
  168. Del           DeleteChar
  169. Center        CenterWindow              ; center is the center of the key pad
  170.  
  171. c+Home        TopOfScreen
  172. c+End         BotOfScreen
  173. c+Left        WordLeft
  174. c+Right       WordRight
  175. c+Up          ScrollUpLine
  176. c+Down        ScrollDnLine
  177. c+PgUp        TopOfFile
  178. c+PgDn        EndOfFile
  179. c+Ins
  180. c+Del         StreamDeleteChar
  181. c+Center      CenterLine
  182.  
  183.  
  184. a+GreyHome                              ; 101 keyboard
  185. a+GreyEnd                               ; 101 keyboard
  186. a+GreyLeft    ScrollLeft                ; 101 keyboard
  187. a+GreyRight   ScrollRight               ; 101 keyboard
  188. a+GreyUp      FixedScrollUp             ; 101 keyboard
  189. a+GreyDown    FixedScrollDn             ; 101 keyboard
  190. a+GreyPgUp    HorizontalScreenLeft      ; 101 keyboard
  191. a+GreyPgDn    HorizontalScreenRight     ; 101 keyboard
  192. a+GreyIns                               ; 101 keyboard
  193. a+GreyDel                               ; 101 keyboard
  194.  
  195. Grey+         ScrollDnLine              ; with Numlock off
  196. Grey-         ScrollUpLine              ; with Numlock off
  197.  
  198. c+Grey+       FixedScrollDn
  199. c+Grey-       FixedScrollUp
  200. c+Grey/                                 ; 101 keyboard
  201. c+Grey*                                 ; 101 keyboard
  202.  
  203. a+Grey/                                 ; 101 keyboard
  204.  
  205.  
  206. s+c+left      ScrollLeft
  207. s+c+right     ScrollRight
  208.  
  209.  
  210. ;
  211. ; Alt keys
  212. ;
  213. a+a           AddLine
  214. a+b           MarkBox
  215. a+c           CopyBlock
  216. a+d           DeleteLine
  217. a+e           BlockExpandTabs
  218. a+f           FillBlock
  219. a+g           DeleteBlock
  220. a+h           Help
  221. a+i           ToggleIndent
  222. a+j           JoinLine
  223. a+k           KopyBlock
  224. a+l           MarkLine
  225. a+m           MoveBlock
  226. a+n           NumberBlock
  227. a+o           OverlayBlock
  228. a+p           PrintBlock
  229. a+q           Quit
  230. a+r           ToggleRuler
  231. a+s           SortBoxBlock
  232. a+t           BlockTrimTrailing
  233. a+u           UnMarkBlock
  234. a+v           ToggleWordWrap
  235. a+w           BlockToFile
  236. a+x           MarkStream
  237. a+y           UndoDelete
  238. a+z           ToggleZ
  239.  
  240.  
  241. a+~
  242. a+1           SetMark1
  243. a+2           SetMark2
  244. a+3           SetMark3
  245. a+4
  246. a+5
  247. a+6
  248. a+7
  249. a+8
  250. a+9
  251. a+0
  252. a+-           DelEndOfLine
  253. a+=           DuplicateLine
  254.  
  255. a+;
  256. a+'
  257.  
  258. a+<           BlockUpperCase
  259. a+>           BlockLowerCase
  260. a+?           BlockStripHiBit
  261.  
  262. a+[
  263. a+]
  264.  
  265. ;
  266. ; Control keys, listed in order of appearance in standard ASCII tables
  267. ;
  268. c+@           DateTimeStamp             ; Control + at sign
  269. c+a           WordLeft
  270. c+b           FormatText
  271. c+c           ScreenDown
  272. c+d           CharRight
  273. c+e           LineUp
  274. c+f           WordRight
  275. c+g           DeleteChar
  276. c+h           BackSpace
  277. c+i           Tab
  278. c+j           Help
  279. c+k
  280. c+l
  281. c+m           Rturn
  282. c+n           AddLine
  283. c+o
  284. c+p           Pause
  285. c+q
  286. c+r           ScreenUp
  287. c+s           CharLeft
  288. c+t           WordDelete
  289. c+u           UndoDelete
  290. c+v           ToggleOverWrite
  291. c+w           ScrollUpLine
  292. c+x           LineDown
  293. c+y           DeleteLine
  294. c+z           ScrollDnLine
  295. c+[           AbortCommand
  296. c+\           RedrawScreen
  297. c+]           ParenBalance
  298. c+^
  299. c+_           SplitLine
  300.  
  301.  
  302. ;
  303. ; shift + alt keys
  304. ;
  305. s+a+A
  306. s+a+B
  307. s+a+C
  308. s+a+D
  309. s+a+E
  310. s+a+F
  311. s+a+G
  312. s+a+H
  313. s+a+I
  314. s+a+J
  315. s+a+K
  316. s+a+L
  317. s+a+M
  318. s+a+N
  319. s+a+O
  320. s+a+P
  321. s+a+Q
  322. s+a+R
  323. s+a+S
  324. s+a+T
  325. s+a+U
  326. s+a+V
  327. s+a+W
  328. s+a+X
  329. s+a+Y
  330. s+a+Z
  331.  
  332. s+a+~
  333. s+a+1         GotoMark1
  334. s+a+2         GotoMark2
  335. s+a+3         GotoMark3
  336. s+a+4
  337. s+a+5
  338. s+a+6
  339. s+a+7
  340. s+a+8
  341. s+a+9
  342. s+a+0
  343. s+a+-
  344. s+a+=
  345. s+a+;
  346. s+a+'
  347. s+a+<
  348. s+a+>
  349. s+a+?
  350. s+a+[
  351. s+a+]
  352.  
  353.  
  354.  
  355. ; The next few lines are the color fields for both monochrome and color systems.
  356. ;   The color fields are prefixed with co80 for color and mono for monochrome
  357. ;   systems.  If you use the DOS "mode" command to switch between mono and
  358. ;   color, tde uses the set of colors assigned to that mode.
  359. ;
  360. ; Color fields are assigned to numbers which represent the standard foreground
  361. ;   and background color attributes for IBM compatible systems.  If you run
  362. ;   the set color option in tdecfg, 1. Change colors, an example of each color
  363. ;   is displayed on the screen.  Valid color attributes are in the range 0-127.
  364. ;   Only decimal numbers are allowed for the attribute.
  365. ;
  366. ; The color assignments are commented out so they won't reset the colors chosen
  367. ;   in tdecfg, 1. Change colors.  If you want the configuration file to set
  368. ;   the colors, assign your favorite colors and remove the comments.
  369. ;
  370. ; Incidentally, I'm color blind, mild red-green, and the default colors
  371. ;   look fine to me, Frank.  You may prefer colors that appeal to normal
  372. ;   color vision.
  373. ;
  374. ;
  375. ;       Field                Attribute
  376. ;
  377. ; co80_Blocks                   113
  378. ; co80_CurLine                  15      ; cursor line
  379. ; co80_EndOfFile                9
  380. ; co80_FileHeader               75
  381. ; co80_HelpScreen               26
  382. ; co80_HilitedFile              7       ; file under cursor in dir list
  383. ; co80_MessageLine              15      ; line that prompts for searches, etc..
  384. ; co80_ModeLine                 23      ; line at the bottom of the screen
  385. ; co80_Ruler                    2
  386. ; co80_RulerPointer             10
  387. ; co80_Text                     7
  388. ; co80_Wrapped                  14
  389. ;
  390. ; mono_Blocks                   112
  391. ; mono_CurLine                  15      ; cursor line
  392. ; mono_EndOfFile                15
  393. ; mono_FileHeader               112
  394. ; mono_HelpScreen               7
  395. ; mono_HilitedFile              112     ; hilited file in dir list
  396. ; mono_MessageLine              15      ; line that prompts for searches, etc..
  397. ; mono_ModeLine                 112     ; line at the bottom of the screen
  398. ; mono_Ruler                    15
  399. ; mono_RulerPointer             112
  400. ; mono_Text                     7
  401. ; mono_Wrapped                  7
  402.  
  403.  
  404.  
  405. ; The next few lines are the editor modes, switches, and settings.
  406. ;
  407. ; The mode assignments are commented out so they won't reset the modes
  408. ;   selected in tdecfg, 4. Set default modes.  If you want the configuration
  409. ;   file to set the modes, change the modes to suite your tastes and remove
  410. ;   the comments.
  411. ;
  412. ;    Mode             Setting      Options and limits
  413. ;
  414. ; InsertMode           On       ; Off or On
  415. ; IndentMode           On       ; Off or On
  416. ; TabSize              8        ; limit is 520.   1040 / 2 = 520
  417. ; SmartTabMode         On       ; Off or On
  418. ; CursorStyle          Small    ; Small or Large insert cursor
  419. ; ControlZ             No_Z     ; Write_Z   or  No_Z
  420. ; EndOfLineStyle       CRLF     ; CRLF or LF
  421. ; TrimTrailingBlanks   On       ; Off or On
  422. ; DisplayEndOfLine     Off      ; Off or On
  423. ; WordWrapMode         Off      ; Off, FixedWrap, or DynamicWrap
  424. ; LeftMargin           1        ; LeftMargin >= 1  and  LeftMargin < Right
  425. ; RightMargin          72       ; RightMargin > Left  and  RightMargin < 1040
  426. ; ParagraphMargin      3        ; ParagraphMargin < RightMargin
  427. ; Backups              Off      ; Off or On
  428. ; Ruler                On       ; Off or On
  429. ; DateStyle            MM_DD_YY ; MM_DD_YY, MM_DD_YYYY, DD_MM_YY, DD_MM_YYYY
  430. ;                               ; YY_MM_DD, YYYY_MM_DD
  431. ; TimeStyle            12_Hour  ; 12_Hour or 24_Hour
  432.  
  433.